import { createApp } from 'vue'
import './style.css'
import App from '@/App.vue'
import router from '@/router'
import components from '@/components'
import { createPinia } from 'pinia'
import piniaPersist from 'pinia-plugin-persistedstate'
import 'element-plus/dist/index.css'
import formily from '@/formily/config'

const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPersist)
app.use(router)
app.use(components)
app.use(pinia)
app.use(formily)
app.mount('#app')
